/**
* Copyright (c) 2022 - present TinyVue Authors.
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
*
* Use of this source code is governed by an MIT-style license.
*
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
*
*/

.component-css-vars-tag() {
  --ti-tag-height: 22px;
  --ti-tag-medium-height: var(--ti-common-size-6x);
  --ti-tag-small-height: var(--ti-common-size-5x);
  --ti-tag-mini-height: var(--ti-common-size-4x);
  --ti-tag-border-color: var(--ti-base-color-border);
  --ti-tag-border-radius: var(--ti-base-radius-medium);
  --ti-tag-font-size: var(--ti-base-font-size);
  --ti-tag-close-font-size: var(--ti-common-font-size-1);

  --ti-tag-primary-text-color: var(--ti-base-color-common-1);
  --ti-tag-primary-border-color: var(--ti-base-color-bg);
  --ti-tag-primary-background-color: var(--ti-base-color-bg);

  --ti-tag-warning-text-color: var(--ti-common-color-warn-text);
  --ti-tag-warning-border-color: var(--ti-common-color-warn-border);
  --ti-tag-warning-background-color: var(--ti-common-color-warn-bg);

  --ti-tag-danger-text-color: var(--ti-common-color-error-text);
  --ti-tag-danger-border-color: var(--ti-common-color-error-border-secondary);
  --ti-tag-danger-background-color: var(--ti-common-color-error-bg);

  --ti-tag-success-text-color: var(--ti-common-color-text-success);
  --ti-tag-success-border-color: var(--ti-common-color-success-border);
  --ti-tag-success-background-color: var(--ti-common-color-success-bg);

  --ti-tag-info-text-color: var(--ti-common-color-info-text);
  --ti-tag-info-border-color: var(--ti-common-color-info-border);
  --ti-tag-info-background-color: var(--ti-common-color-info-bg);

  --ti-tag-dark-text-color: var(--ti-base-color-light);
  --ti-tag-dark-bg-color: var(--ti-common-color-prompt);
  --ti-tag-dark-success-bg-color: var(--ti-common-color-success);
  --ti-tag-dark-warning-bg-color: var(--ti-common-color-warn);
  --ti-tag-dark-danger-bg-color: var(--ti-common-color-error);
  --ti-tag-dark-info-bg-color: var(--ti-common-color-info);

  --ti-tag-plain-text-color: var(--ti-common-color-prompt);
  --ti-tag-plain-border-color: var(--ti-common-color-prompt-border);
  --ti-tag-plain-background-color: var(--ti-base-color-light);

  --ti-tag-plain-info-text-color: var(--ti-common-color-info);
  --ti-tag-plain-info-border-color: var(--ti-common-color-info-border);

  --ti-tag-plain-success-text-color: var(--ti-common-color-success);
  --ti-tag-plain-success-border-color: var(--ti-common-color-success-border);

  --ti-tag-plain-warning-text-color: var(--ti-common-color-warn);
  --ti-tag-plain-warning-border-color: var(--ti-common-color-warn-border);

  --ti-tag-plain-danger-text-color: var(--ti-common-color-error);
  --ti-tag-plain-danger-border-color: var(--ti-common-color-error-border-secondary);
}
